package com.gopay.remote.fundcps.service;

import com.gopay.common.exception.CPSException;
import com.gopay.remote.fundcps.model.FundcCustIncome;
import com.gopay.remote.fundcps.vo.FundcCustIncomeVO;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Description:Server of Cust's fund profit infomation
 * Auther：liuyu
 * Date:2017-03-27
 * @version
 */
public interface FundcCustIncomeService {

	int deleteByPrimaryKey(BigDecimal keyId);

	int insert(FundcCustIncome record);

	int insertSelective(FundcCustIncome record);

	FundcCustIncome selectByPrimaryKey(BigDecimal keyId);

	int updateByPrimaryKeySelective(FundcCustIncome record);

	int updateByPrimaryKey(FundcCustIncome record);

	FundcCustIncomeVO selectIncomeByDateAndCustId(Date date, String custId) throws CPSException;

	void insertInfoFromRtBiz() throws CPSException;
}

